package com.ruoyi.business.domain.bo;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import java.util.Date;

@Data
@ApiModel("课程信息的业务对象")
public class CourseInfoBo extends BaseEntity {

    private String id;

    private String courseName;

    private String courseDetail;

    private Long courseSeries;

    private String courseImage;

    private String uploadTeacher;

    /**
     * 当前用作请求的用户的id
     */
    private String userId;


    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss")
    private Date uploadTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /**
     * 课程被指派的班级
     */
    private String assignClass;

}
